Skip to content

fix(falcon/async_resource): replace the use of removed resp.body#1516

Open
vytas7 wants to merge 1 commit into
slackapi:mainfrom
vytas7:asyncresource-set-404-resp.text
Open

fix(falcon/async_resource): replace the use of removed resp.body#1516
vytas7 wants to merge 1 commit into
slackapi:mainfrom
vytas7:asyncresource-set-404-resp.text

Conversation

@vytas7
Copy link
Copy Markdown

@vytas7 vytas7 commented May 30, 2026

Summary

Testing

Category

  • slack_bolt.App and/or its core components
  • slack_bolt.async_app.AsyncApp and/or its core components
  • Adapters in slack_bolt.adapter
  • Document pages under /docs
  • Others

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run ./scripts/install_all_and_run_tests.sh after making the changes.

@vytas7 vytas7 requested a review from a team as a code owner May 30, 2026 17:49
@salesforce-cla
Copy link
Copy Markdown

Thanks for the contribution! Before we can merge this, we need @vytas7 to sign the Salesforce Inc. Contributor License Agreement.

return

resp.status = "404"
# Falcon 4.x w/ mypy fails to correctly infer the str type here
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mypy was actually functioning correctly - resp.body was removed long ago.

(All this could be replaced with a onliner raising HTTPNotFound, especially if you're OK with a JSON error.)

@vytas7
Copy link
Copy Markdown
Author

vytas7 commented May 30, 2026

(I believe I have now signed the CLA.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant